home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Pdomain(2) Oct. 1, 1991 Pdomain(2)
-
-
- N✓NA✓AM✓ME✓E
- Pdomain - get or set process execution domain
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- WORD Pdomain( WORD dom );
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓P_✓d_✓o_✓m_✓a_✓i_✓n gets or sets the process execution domain. This is
- a number which controls the behavior of a process. The
- default domain is 0, which is the TOS compatibility domain
- and in which all system calls behave exactly as they do
- under TOS. Domain 1 is the MiNT domain; in this domain,
- the behavior of the _✓F_✓r_✓e_✓a_✓d and _✓F_✓w_✓r_✓i_✓t_✓e system calls when
- applied to terminals are controlled by the current termi-
- nal settings as established by the _✓F_✓c_✓n_✓t_✓l system call.
- Moreover, file names returned from _✓F_✓s_✓f_✓i_✓r_✓s_✓t and _✓F_✓s_✓n_✓e_✓x_✓t may
- be treated differently; MiNT domain processes are expected
- to be able to deal with file names that are not standard 8
- character name + 3 character extension, all upper case,
- DOS file names.
-
- If _✓d_✓o_✓m is greater than or equal to 0, the process domain
- is set to its value. Note that only domains 0 and 1 are
- currently defined, and the result of using a different
- (positive) number for _✓d_✓o_✓m is unpredictable. If _✓d_✓o_✓m is neg-
- ative, no change is made to the process domain.
-
- R✓RE✓ET✓TU✓UR✓RN✓NS✓S
- The process domain at the time of the _✓P_✓d_✓o_✓m_✓a_✓i_✓n call (i.e.
- before any change).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-